package com.yida.wy.common.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("小区业主信息管理-业主信息对象请求")
public class WyBaseOwnerUpdateRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("房屋编号")
	@NotNull(message = "请求参数有误[houseId]为空")
	private Long houseId;

	@ApiModelProperty("业主名称")
	private String ownerName;

	@ApiModelProperty("业主手机号码")
	private String ownerPhone;

	@ApiModelProperty("身份证号码")
	private String cardNum;

	public Long getHouseId() {
		return houseId;
	}

	public void setHouseId(Long houseId) {
		this.houseId = houseId;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getOwnerPhone() {
		return ownerPhone;
	}

	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}

	public String getCardNum() {
		return cardNum;
	}

	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjBaseOwnerUpdateRequest{");
		sb.append("houseId=").append(houseId);
		sb.append(", ownerName='").append(ownerName).append('\'');
		sb.append(", ownerPhone='").append(ownerPhone).append('\'');
		sb.append(", cardNum='").append(cardNum).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
